\usepackage[brazilian,portuges,english]{babel}
% \usepackage{ae} 
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc} 
\usepackage{amsmath}
\usepackage{longtable}
\usepackage{icomma}

%\usepackage[portuges,english]{babel}
\usepackage{copin,mestre} % ,epsfig
\usepackage{times}
\usepackage{multirow}
\usepackage{ucs}
\usepackage{cite}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{bbding}
\usepackage{threeparttable}

%------------------- for doc2latex

%\usepackage{amssymb,amsfonts,textcomp}
%\usepackage{color}
%\usepackage{array}
%\usepackage{supertabular}
%\usepackage{hhline}
\usepackage{hyperref}
\hypersetup{pdftex, colorlinks=false, pdfauthor=Rodrigo Rocha Gomes e Souza,pdftitle=Modelos Computacionais Realistas para Dependências entre Entidades de Software}
%\hypersetup{pdftex, colorlinks=false, linkcolor=blue, citecolor=blue, filecolor=blue, urlcolor=blue, pdftitle=                             , pdfauthor=Rodrigo Souza, pdfsubject=, pdfkeywords=}

%-----------------------------------------------------------------------------------------------------

\usepackage{url}
\usepackage{fancyheadings}
\usepackage{graphicx}
\usepackage{longtable} %tabelas longas, que ultrapassam uma pagina

\usepackage{listings}
\lstset{numbers=left,
stepnumber=1,
firstnumber=1,
%numberstyle=\tiny,
extendedchars=true,
breaklines=true,
frame=tb,
basicstyle=\footnotesize,
stringstyle=\ttfamily,
showstringspaces=false
}
\renewcommand{\lstlistingname}{C\'odigo Fonte}
\renewcommand{\lstlistlistingname}{Lista de C\'odigos Fonte}

\selectlanguage{portuges}
%\selectlanguage{brazilian}
\sloppy

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Stochastic model: A model that recognizes that there could be a range of possible outcomes for a given set of inputs, and expresses the likelihood of each one happening as a probability. http://wps.pearsoned.co.uk/wps/media/objects/3133/3209133/glossary/glossary.html
% A stochastic model is one that involves probability or randomness. http://www.vertex42.com/ExcelArticles/mc/StochasticModel.html

% Modelos estocásticos? Modelagem e simulação?
\Titulo{Modelos Computacionais Realistas para Dependências entre Entidades de Software}
\Autor{Rodrigo Rocha Gomes e Souza}
% \Data{01/04/2010}
\Data{2010}
\Area{Ciência da Computação}
\Pesquisa{Engenharia de Software}
\Orientadores{Prof. Dr. Dalton Dario Serey Guerrero  
	 (Orientador) \\
	Prof. Dr. Jorge César Abrantes de Figueiredo 
	(Orientador)
	}

\newpage
\cleardoublepage

\PaginadeRosto

\newpage
\cleardoublepage

\vspace*{12cm}
\begin{center}
\includegraphics[scale=1]{ficha-catalografica}
\end{center}

\newpage
\cleardoublepage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\selectlanguage{brazilian}
\begin{resumo} 
\input{resumo.tex}
\end{resumo}

\newpage
\cleardoublepage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\selectlanguage{english}
\begin{summary}
\input{abstract.tex}
\end{summary}

\selectlanguage{brazilian}

\newpage
\cleardoublepage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{agradecimentos}
\input{agradecimentos.tex}
\end{agradecimentos}

\clearpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Definicao do cabecalho: secao do lado esquerdo e numero da pagina do lado direito
\pagestyle{fancy}
\addtolength{\headwidth}{\marginparsep}\addtolength{\headwidth}{\marginparwidth}\headwidth = \textwidth
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}\lhead[\fancyplain{}{\bfseries\thepage}]%
	     {\fancyplain{}{\emph{\rightmark}}}\rhead[\fancyplain{}{\bfseries\leftmark}]%
             {\fancyplain{}{\bfseries\thepage}}\cfoot{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\selectlanguage{portuges}

\Sumario
% \ListadeSimbolos
\listoffigures
\listoftables
% \lstlistoflistings %lista de codigos fonte - Para inserir a listagem de codigos fonte
\newpage
\cleardoublepage

\Introducao


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Hifenizacao - Colocar lista de palavras que nao devem ser separadas e que 
% nao estao no dicionario portugues.
% As palavras do dicionario portugues ja sao separadas corretamente pelo lateX
%
\hyphenation{hardware software}
